From 369e2c359cb2f9ddc56eb3ccacc974ee2fa54051 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Tue, 31 Mar 2026 15:12:05 +0800 Subject: [PATCH] tests/inst: Remove unused Kill9Stats and RebootStats structs These structs were never constructed, flagged by cargo clippy with -Ddead_code. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Xiaofeng Wang --- tests/inst/src/destructive.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/inst/src/destructive.rs b/tests/inst/src/destructive.rs index 5a89bd0d..2668cf2e 100644 --- a/tests/inst/src/destructive.rs +++ b/tests/inst/src/destructive.rs @@ -186,19 +186,6 @@ struct TransactionalTestInfo { cycle_time: time::Duration, } -#[derive(Serialize, Deserialize, Debug, Default)] -struct Kill9Stats { - interrupted: u32, - staged: u32, - success: u32, -} - -#[derive(Serialize, Deserialize, Debug, Default)] -struct RebootStats { - interrupted: u32, - success: u32, -} - fn upgrade_and_finalize() -> Result<()> { bash!( "rpm-ostree upgrade -- 2.39.5